require('../../assets/css/index.less')
require('./ad.less')
// 封装
let skip=()=>{
    window.onload = () => {
        const jumpTime = document.querySelector('#jumpTime')
        let time = 5
        let timer = setInterval(() => {
            time--
            jumpTime.innerHTML = `${time}s`
            if (time === 1) {
                clearInterval(timer)
                location.href = './login.html'
                return
            }
    
    
    
        }, 1000)
    }
}
// 调用函数
skip()



